import localforage from 'localforage'
export const initLocalForage = async () => {
	await localforage.config({
		name: 'ChatApp',
		storeName: 'messages', // 选择一个存储名称
		driver: localforage.INDEXEDDB, // 使用IndexedDB作为后端存储
	})
}
